import  request  from '@/utils/request'
//分页条件查询所有用户
export function pageUser(userDto){
  return request({
    url:'/pd-auth/user/pageUser',
    method:'post',
    data:userDto
  })
}

//根据用户id查询、查找到当前用户的信息
export function userById(id){
  return request({
    url:`/pd-auth/user/userById/${id}`,
    method:'get',
    data:id
  })
}

//添加用户
export function addUser(user){
  return request({
    url:''
  })
}

